package com.ethink.component.warehouse.properties;

import com.ethink.component.warehouse.model.EtonbaoRequestInfo;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 *
 * @Author: lzy
 * @Date: Created in 2022/11/17 15:34
 * ModifiedBy:
 * Version:
 */
@Data
@Component
@ConfigurationProperties(prefix = "ethink.warehouse-component.external-api.etonbao")
@RefreshScope
public class ExternalApiEtonbaoProperties {
    private String requestUrl;

    private Map<String, EtonbaoRequestInfo> requestInfoMap;
}
